<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
	<title>Reftest, bug 1062963</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Content-Style-Type" content="text/css">
	<style type="text/css">

	html, body { margin: 0; }

	.contain {
		background: aqua; color: black;
		height: 40px; margin: 1px 50px;
		padding-top: 0.1px; /* needed for some reason (XXX WHY?) */
	}

	div.pushed { height: 20px; }
	div.t { background: blue; height: 10px; width: 100px; }
	div.caption { background: purple; height: 10px; width: 100px; }
	div.side { display: inline-block; vertical-align: top; }

    #test { width: 699px; }
	</style>
</head>
<body>

<div id="test">

<div style="width: 676px">
	<div class="contain rtl">
		<div class="side t" style="margin-left: 102px"></div
		><div class="side caption" style="margin-left: 100px"></div>
	</div>
</div>

<div style="width: 674px">
	<div class="contain rtl">
		<div class="side t" style="margin-left: 100px"></div
		><div class="side caption" style="margin-left: 100px"></div>
	</div>
</div>

<div style="width: 672px">
	<div class="contain rtl">
		<div class="pushed"></div>
		<div class="side t" style="margin-left: 98px"></div
		><div class="side caption" style="margin-left: 100px"></div>
	</div>
</div>

</div>

</body>
</html>
